
public class Printer extends Thread{

	protected String m_IP = "localhost";
	protected int m_zona;
	protected int m_ID;
	
	public Printer()
	{
		m_zona = (int)(Math.random()%3);
		m_ID = 0;
	}
	
	@Override
	public void run() {

	}

	public static void main(String... args) {
		
		
		// TCP
		TCPPrinter clientTCP = new TCPPrinter("localhost", 5001);
		clientTCP.start();

		// UDP
		/*
		 * UDPClient clientUDP = new UDPClient("127.0.0.1", 50002, 60000 + i +
		 * 1); clientUDP.start(); clientListUDP.add(clientUDP);
		 */

	}
}

